package com.bbzn.user.client.service;

import java.util.List;
import com.bbzn.user.client.dataobject.UserProcess;
import com.bbzn.user.client.dto.user.UserProcessDTO;

public interface UserProcessService {


    int deleteByPrimaryKey(Long id);

    int insert(UserProcess record);

    int insertOrUpdate(UserProcess record);

    int insertOrUpdateSelective(UserProcess record);

    int insertSelective(UserProcess record);

    UserProcess selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserProcess record);

    int updateByPrimaryKey(UserProcess record);

    List<UserProcess> findByAll(UserProcess userProcess);

    int updateBatch(List<UserProcess> list);

    int updateBatchSelective(List<UserProcess> list);

    int batchInsert(List<UserProcess> list);

    List<UserProcessDTO> selUserProcessListByCompany (UserProcess record);

    List<UserProcessDTO> selUserProcessListByUser (UserProcess record);

}

